package com.bigwork.mapper;

//import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bigwork.entity.Product;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ProductMapper {
    int insert(Product product);
    Product selectById(Long id);
    List<Product> selectByName(String name);
    List<Product> selectByCategory(String category);
    List<Product> selectAll();
}